M4-ATX Linux/MacOS/*BSD Api

Examples

# Monitor input and output voltage levels:
$ ./m4 -diag loop
-- 1262486581
VIN: 11.34
IGN: 11.23
33V: 3.33
5V: 5.06
12V: 12.18
TEMP: +28
-- 1262486582
VIN: 11.34
IGN: 11.34
...

# Display your PSU's configuration:
$ ./m4 -config
IGN_HIGH: 5.84 V
IGN_LOW: 5.50 V
IGN_DBC: 500 ms
PSU_DELAY: 1 sec
...

# Check or update specific variables:
$ ./m4 -config VIN_MIN_ON 
9.55 V
$ ./m4 -config VIN_MIN_ON 10.0
$ ./m4 -config VIN_MIN_ON
9.99 V